package com.hzb.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
@EnableEurekaServer
public class EurekaServer7003_App {

    public static void main(String[] args) {

        SpringApplication.run(EurekaServer7003_App.class,args);

}

    /*public int getLength(String s){

        int length =0;
        for (int i = 0; i < s.length(); i++) {

            int in = Character.codePointAt(s, i);
            if (in>=0 && in <= 255){
                length++;
            }else {
                length +=2;
            }
        }
        return length;
    }*/
}
